﻿<div class="top-row pl-4 navbar navbar-dark">
    <a class="navbar-brand" href="">精泰检测</a>
    <button class="navbar-toggler" onclick="ToggleNavMenu">
        <span class="navbar-toggler-icon"></span>
    </button>
</div>

<div class="NavMenuCssClass" onclick="ToggleNavMenu">
    <ul class="nav">
        <li class="nav-item px-3">
            <a class="nav-link" href="" Match="NavLinkMatch.All">
                <span class="oi oi-home" aria-hidden="true"></span> Home
            </a>
        </li>
        <li class="nav-item px-3">
            <a class="nav-link" href="counter">
                <span class="oi oi-plus" aria-hidden="true"></span> Counter
            </a>
        </li>
        <li class="nav-item px-3">
            <a class="nav-link" href="fetchdata">
                <span class="oi oi-list-rich" aria-hidden="true"></span> Fetch data
            </a>
        </li>
    </ul>
</div>
<script>
    let collapseNavMenu = true;
    let NavMenuCssClass = collapseNavMenu ? "collapse" : null;
    function ToggleNavMenu() {
        collapseNavMenu = !collapseNavMenu;
    }
</script>



